Jacob

Results 22 comments of Jacob

Ah. It appears that it is an ollama issue after all. Ill raise it over there. ``` Fatal Python error: Segmentation fault Current thread 0x00007d584222bbc0 (most recent call first): Garbage-collecting...

@picnixz So, I just checked and it appears that ollama-python is pure python. (Ofc I realized this after I made the issue.) Would that bring the issue back here? They...

> I tried to reproduce it (3.13.1, MacOS, latest ollama) but I got `httpx.ConnectError: [Errno 61] Connection refused` instead (does ollama require a local server or something? probably not something...

Running python with the debug build I just compiled produces: ``` Modules/_datetimemodule.c:2745:13: runtime error: member access within null pointer of type 'struct datetime_state' AddressSanitizer:DEADLYSIGNAL ================================================================= ==9445==ERROR: AddressSanitizer: SEGV on unknown...

So, using GDB. I figured out that `st` on that line is a null pointer and the macro attempts to dereference it. `st` is created in the function `_get_current_state` which...

Just realized that line numbers are different. Let me fix that

Why `_get_current_state` returns NULL in the first place in this situation, I have no idea. (Actually, I do. both `get_current_module` and possibly `PyImport_ImportModule("_datetime");` failed. But I don't know why this...

@JelleZijlstra New Minimal Reproducible example: ```python import httpx client = httpx.Client( # Any URL works base_url="https://duckduckgo.com" ) def req(): with client.stream("GET", "/") as r: yield # Cannot be inlined into...

Oh. Whoops. Didn't see that you changed the name

Still crashing for me on `Python 3.14.0a7+ (heads/main:891465fc7a6, Apr 12 2025, 08:18:07) [GCC 14.2.1 20250207]`. (Both debug and release) I believe that it's the same stacktrace (just with different line...