Skip to content

Instantly share code, notes, and snippets.

@scriptum scriptum/document.c
Last active Jan 3, 2016

Embed
What would you like to do?
Geany SEGV
//LOC 1238
/* set the cursor position according to pos, cl_options.goto_line and cl_options.goto_column */
pos = set_cursor_position(doc->editor, pos);
[New Thread 30250]
[New Thread 30253]
[Thread debugging using libthread_db enabled]
Core was generated by `geany'.
Program terminated with signal 11, Segmentation fault.
#0 0x0000000000461464 in document_open_file_full ()
Thread 2 (Thread 0x7fbc382eb700 (LWP 30253)):
#0 0x00007fbc461304dd in read () from /lib64/libpthread.so.0
No symbol table info available.
#1 0x00007fbc46b1611b in ?? () from /lib64/libglib-2.0.so.0
No symbol table info available.
#2 0x00007fbc46b3e144 in ?? () from /lib64/libglib-2.0.so.0
No symbol table info available.
#3 0x00007fbc461297e1 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#4 0x00007fbc45e7780d in clone () from /lib64/libc.so.6
No symbol table info available.
Thread 1 (Thread 0x7fbc495e6aa0 (LWP 30250)):
#0 0x0000000000461464 in document_open_file_full ()
No symbol table info available.
#1 0x00000000004804f2 in main_handle_filename ()
No symbol table info available.
#2 0x00000000004987e8 in socket_lock_input_cb ()
No symbol table info available.
#3 0x00007fbc46b1504e in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
No symbol table info available.
#4 0x00007fbc46b18a78 in ?? () from /lib64/libglib-2.0.so.0
No symbol table info available.
#5 0x00007fbc46b18e95 in g_main_loop_run () from /lib64/libglib-2.0.so.0
No symbol table info available.
#6 0x00007fbc48ed3377 in gtk_main () from /usr/lib64/libgtk-x11-2.0.so.0
No symbol table info available.
#7 0x00000000004815fe in main ()
No symbol table info available.
From To Syms Read Shared Object Library
0x00007fbc48ded2f0 0x00007fbc4908a098 Yes (*) /usr/lib64/libgtk-x11-2.0.so.0
0x00007fbc48ae8ff0 0x00007fbc48b4ab68 Yes (*) /usr/lib64/libgdk-x11-2.0.so.0
0x00007fbc488b52f0 0x00007fbc488c0918 Yes (*) /usr/lib64/libatk-1.0.so.0
0x00007fbc48689330 0x00007fbc486a2fe8 Yes (*) /usr/lib64/libpangoft2-1.0.so.0
0x00007fbc48468780 0x00007fbc4847a5e8 Yes (*) /usr/lib64/libgdk_pixbuf-2.0.so.0
0x00007fbc4825b8b0 0x00007fbc482603d8 Yes (*) /usr/lib64/libpangocairo-1.0.so.0
0x00007fbc47fe7c50 0x00007fbc480392e8 Yes (*) /usr/lib64/libcairo.so.2
0x00007fbc47da1d30 0x00007fbc47dc05b8 Yes (*) /usr/lib64/libpango-1.0.so.0
0x00007fbc47b03850 0x00007fbc47b6b978 Yes (*) /usr/lib64/libfreetype.so.6
0x00007fbc478c6c80 0x00007fbc478e0ed8 Yes (*) /usr/lib64/libfontconfig.so.1
0x00007fbc4762ea50 0x00007fbc47690e98 Yes (*) /lib64/libgio-2.0.so.0
0x00007fbc473d9980 0x00007fbc47402f88 Yes (*) /lib64/libgobject-2.0.so.0
0x00007fbc471cf090 0x00007fbc471cffd8 Yes (*) /lib64/libgmodule-2.0.so.0
0x00007fbc46fcb5a0 0x00007fbc46fcc9f8 Yes (*) /lib64/libgthread-2.0.so.0
0x00007fbc46dc4140 0x00007fbc46dc74f8 Yes (*) /lib64/librt.so.1
0x00007fbc46aef5b0 0x00007fbc46b668e8 Yes (*) /lib64/libglib-2.0.so.0
0x00007fbc4682dd70 0x00007fbc46898e36 Yes (*) /usr/lib64/libstdc++.so.6
0x00007fbc46557ea0 0x00007fbc46597fe8 Yes (*) /lib64/libm.so.6
0x00007fbc46340910 0x00007fbc46350f18 Yes (*) /lib64/libgcc_s.so.1
0x00007fbc46127640 0x00007fbc46132e48 Yes (*) /lib64/libpthread.so.0
0x00007fbc45db0ac0 0x00007fbc45ece950 Yes (*) /lib64/libc.so.6
0x00007fbc45b75180 0x00007fbc45b887c8 Yes (*) /lib64/libselinux.so.1
0x00007fbc4584ed80 0x00007fbc458dc788 Yes (*) /usr/lib64/libX11.so.6
0x00007fbc4562d370 0x00007fbc45630178 Yes (*) /usr/lib64/libXfixes.so.3
0x00007fbc4541d580 0x00007fbc45428668 Yes (*) /usr/lib64/libXext.so.6
0x00007fbc452118c0 0x00007fbc45217f58 Yes (*) /usr/lib64/libXrender.so.1
0x00007fbc4500ea20 0x00007fbc4500f508 Yes (*) /usr/lib64/libXinerama.so.1
0x00007fbc44e00f00 0x00007fbc44e0b7c8 Yes (*) /usr/lib64/libXi.so.6
0x00007fbc44bf8720 0x00007fbc44bfd838 Yes (*) /usr/lib64/libXrandr.so.2
0x00007fbc449ef880 0x00007fbc449f45f8 Yes (*) /usr/lib64/libXcursor.so.1
0x00007fbc447ebb40 0x00007fbc447ec908 Yes (*) /usr/lib64/libXcomposite.so.1
0x00007fbc445e9a90 0x00007fbc445ea638 Yes (*) /usr/lib64/libXdamage.so.1
0x00007fbc443c7830 0x00007fbc443e16e8 Yes (*) /usr/lib64/libpng12.so.0
0x00007fbc4416a230 0x00007fbc441b4ac8 Yes (*) /usr/lib64/libpixman-1.so.0
0x00007fbc43f4fef0 0x00007fbc43f5b178 Yes (*) /lib64/libz.so.1
0x00007fbc43d29b70 0x00007fbc43d429a8 Yes (*) /lib64/libexpat.so.1
0x00007fbc43b22de0 0x00007fbc43b23998 Yes (*) /lib64/libdl.so.2
0x00007fbc4390c8c0 0x00007fbc4391b4c8 Yes (*) /lib64/libresolv.so.2
0x00007fbc493ecb00 0x00007fbc494056fb Yes (*) /lib64/ld-linux-x86-64.so.2
0x00007fbc436f6650 0x00007fbc43701918 Yes (*) /usr/lib64/libxcb.so.1
0x00007fbc434ebdd0 0x00007fbc434ecb58 Yes (*) /usr/lib64/libXau.so.6
0x00007fbc432df230 0x00007fbc432e7958 Yes (*) /lib64/libnss_files.so.2
0x00007fbc42d3e500 0x00007fbc42d52d78 Yes (*) /usr/lib64/gtk-2.0/2.10.0/engines/libequinox.so
0x00007fbc42b332b0 0x00007fbc42b38838 Yes (*) /usr/lib64/gtk-2.0/2.10.0/engines/libpixmap.so
0x00007fbc4292cf00 0x00007fbc4292f168 Yes (*) /usr/lib64/gtk-2.0/modules/libcanberra-gtk-module.so
0x00007fbc42728bf0 0x00007fbc42729fd8 Yes (*) /usr/lib64/libcanberra-gtk.so.0
0x00007fbc4251a260 0x00007fbc42523228 Yes (*) /usr/lib64/libcanberra.so.0
0x00007fbc42311fa0 0x00007fbc42315fd8 Yes (*) /usr/lib64/libvorbisfile.so.3
0x00007fbc420e7ae0 0x00007fbc420fe998 Yes (*) /usr/lib64/libvorbis.so.0
0x00007fbc41ee08d0 0x00007fbc41ee2c18 Yes (*) /usr/lib64/libogg.so.0
0x00007fbc41cd2e30 0x00007fbc41cdacc8 Yes (*) /usr/lib64/libtdb.so.1
0x00007fbc41aca370 0x00007fbc41ace758 Yes (*) /usr/lib64/libltdl.so.7
0x00007fbc395e8940 0x00007fbc39601348 Yes (*) /usr/lib64/gio/modules/libgvfsdbus.so
0x00007fbc393d1e30 0x00007fbc393dba98 Yes (*) /usr/lib64/libgvfscommon.so.0
0x00007fbc3918f090 0x00007fbc391b6518 Yes (*) /lib64/libdbus-1.so.3
0x00007fbc38f7b8c0 0x00007fbc38f837a8 Yes (*) /lib64/libudev.so.0
0x00007fbc38d76e10 0x00007fbc38d77688 Yes (*) /lib64/libutil.so.1
0x00007fbc38510b70 0x00007fbc3851c5b8 Yes (*) /usr/lib64/gio/modules/libgioremote-volume-monitor.so
0x00007fbc38ae9070 0x00007fbc38b18718 Yes (*) /usr/lib64/libvte.so.9
0x00007fbc388bb8e0 0x00007fbc388d1818 Yes (*) /lib64/libncurses.so.5
0x00007fbc382f8840 0x00007fbc38301c08 Yes (*) /lib64/libtinfo.so.5
No /home/rpg/.config/geany/plugins/automark.so
0x00007fbc374e35b0 0x00007fbc374e7178 Yes /usr/lib64/geany/autoclose.so
0x00007fbc372df5a0 0x00007fbc372e0d88 Yes /usr/lib64/geany/commander.so
0x00007fbc370db940 0x00007fbc370dc1a8 Yes /usr/lib64/geany/defineformat.so
0x00007fbc36ed24b0 0x00007fbc36ed7f98 Yes /usr/lib64/geany/treebrowser.so
0x00007fbc36ccb1b0 0x00007fbc36ccc9a8 Yes /usr/lib64/geany/geanydoc.so
0x00007fbc36abc410 0x00007fbc36ac4218 Yes /usr/lib64/geany/geanyvc.so
0x00007fbc368b1ab0 0x00007fbc368b3e58 Yes (*) /usr/lib64/libgtkspell.so.0
0x00007fbc366a6d50 0x00007fbc366ac098 Yes (*) /usr/lib64/libenchant.so.1
0x00007fbc3649cfa0 0x00007fbc364a0c18 Yes /usr/lib64/geany/spellcheck.so
0x00007fbc36295ab0 0x00007fbc36297af8 Yes (*) /usr/lib64/enchant/libenchant_myspell.so
0x00007fbc3605c230 0x00007fbc3607db18 Yes (*) /usr/lib64/libhunspell-1.2.so.0
0x00007fbc35e50480 0x00007fbc35e50f58 Yes (*) /usr/lib64/gconv/KOI8-R.so
0x00007fbc35b54480 0x00007fbc35b54ec8 Yes (*) /usr/lib64/gconv/ISO8859-1.so
(*): Shared library is missing debugging information.
$1 = 0x0
No symbol "__glib_assert_msg" in current context.
rax 0x44ef3f0 72283120
rbx 0x226a530 36087088
rcx 0x7fbc4611ded8 140446606155480
rdx 0x44ef3f0 72283120
rsi 0xffffffff 4294967295
rdi 0x7fbc4611dea0 140446606155424
rbp 0x0 0x0
rsp 0x7fff7c4ca960 0x7fff7c4ca960
r8 0xffffffff 4294967295
r9 0x0 0
r10 0x1 1
r11 0xdc8 3528
r12 0x0 0
r13 0x44ef400 72283136
r14 0x0 0
r15 0x0 0
rip 0x461464 0x461464 <document_open_file_full+756>
eflags 0x10286 [ PF SF IF RF ]
cs 0x33 51
ss 0x2b 43
ds 0x0 0
es 0x0 0
fs 0x0 0
gs 0x0 0
Dump of assembler code for function document_open_file_full:
0x0000000000461170 <+0>: push %r15
0x0000000000461172 <+2>: mov %ecx,%r15d
0x0000000000461175 <+5>: push %r14
0x0000000000461177 <+7>: push %r13
0x0000000000461179 <+9>: push %r12
0x000000000046117b <+11>: xor %r12d,%r12d
0x000000000046117e <+14>: push %rbp
0x000000000046117f <+15>: push %rbx
0x0000000000461180 <+16>: mov %rdi,%rbx
0x0000000000461183 <+19>: sub $0xf8,%rsp
0x000000000046118a <+26>: test %rdi,%rdi
0x000000000046118d <+29>: setne %r12b
0x0000000000461191 <+33>: mov %edx,0x14(%rsp)
0x0000000000461195 <+37>: mov %r8,0x18(%rsp)
0x000000000046119a <+42>: test %r12d,%r12d
0x000000000046119d <+45>: mov %r9,0x8(%rsp)
0x00000000004611a2 <+50>: jne 0x4612c8 <document_open_file_full+344>
0x00000000004611a8 <+56>: test %rsi,%rsi
0x00000000004611ab <+59>: je 0x4614f0 <document_open_file_full+896>
0x00000000004611b1 <+65>: mov %rsi,%rdi
0x00000000004611b4 <+68>: callq 0x44a400 <g_strdup@plt>
0x00000000004611b9 <+73>: mov %rax,%rbp
0x00000000004611bc <+76>: mov %rax,%rdi
0x00000000004611bf <+79>: callq 0x4aed20 <utils_tidy_path>
0x00000000004611c4 <+84>: mov %rbp,%rdi
0x00000000004611c7 <+87>: callq 0x4af410 <utils_get_utf8_from_locale>
0x00000000004611cc <+92>: mov %rax,%rdi
0x00000000004611cf <+95>: mov %rax,%r13
0x00000000004611d2 <+98>: callq 0x45e5d0 <document_find_by_filename>
0x00000000004611d7 <+103>: test %rax,%rax
0x00000000004611da <+106>: mov %rax,%rbx
0x00000000004611dd <+109>: je 0x4612f0 <document_open_file_full+384>
0x00000000004611e3 <+115>: mov %rax,%rdi
0x00000000004611e6 <+118>: callq 0x4aaee0 <ui_add_recent_document>
0x00000000004611eb <+123>: mov %rbx,%rdi
0x00000000004611ee <+126>: callq 0x460210 <document_show_tab>
0x00000000004611f3 <+131>: mov $0x1,%esi
0x00000000004611f8 <+136>: mov %rbx,%rdi
0x00000000004611fb <+139>: callq 0x460df0 <document_check_disk_status>
0x0000000000461200 <+144>: xor %r14d,%r14d
0x0000000000461203 <+147>: mov %r14,%rdi
0x0000000000461206 <+150>: callq 0x44ba40 <g_free@plt>
0x000000000046120b <+155>: mov %r13,%rdi
0x000000000046120e <+158>: callq 0x44ba40 <g_free@plt>
0x0000000000461213 <+163>: mov %rbp,%rdi
0x0000000000461216 <+166>: callq 0x44ba40 <g_free@plt>
0x000000000046121b <+171>: mov 0x3f6193(%rip),%esi # 0x8573b4 <cl_options+20>
0x0000000000461221 <+177>: mov 0x28(%rbx),%rbp
0x0000000000461225 <+181>: test %esi,%esi
0x0000000000461227 <+183>: js 0x461430 <document_open_file_full+704>
0x000000000046122d <+189>: mov 0x8(%rbp),%rdi
0x0000000000461231 <+193>: sub $0x1,%esi
0x0000000000461234 <+196>: mov $0x1,%edx
0x0000000000461239 <+201>: callq 0x491080 <sci_goto_line>
0x000000000046123e <+206>: movl $0x3f000000,0x18(%rbp)
0x0000000000461245 <+213>: movl $0xffffffff,0x3f6165(%rip) # 0x8573b4 <cl_options+20>
0x000000000046124f <+223>: mov 0x3f6162(%rip),%r8d # 0x8573b8 <cl_options+24>
0x0000000000461256 <+230>: test %r8d,%r8d
0x0000000000461259 <+233>: js 0x461464 <document_open_file_full+756>
0x000000000046125f <+239>: mov 0x8(%rbp),%rdi
0x0000000000461263 <+243>: callq 0x4916e0 <sci_get_current_position>
0x0000000000461268 <+248>: mov 0x3f6149(%rip),%r12d # 0x8573b8 <cl_options+24>
0x000000000046126f <+255>: mov 0x8(%rbp),%rdi
0x0000000000461273 <+259>: xor %edx,%edx
0x0000000000461275 <+261>: add %eax,%r12d
0x0000000000461278 <+264>: mov %r12d,%esi
0x000000000046127b <+267>: callq 0x491660 <sci_set_current_position>
0x0000000000461280 <+272>: movl $0x3f000000,0x18(%rbp)
0x0000000000461287 <+279>: movl $0xffffffff,0x3f6127(%rip) # 0x8573b8 <cl_options+24>
0x0000000000461291 <+289>: mov 0x28(%rbx),%rdi
0x0000000000461295 <+293>: mov %r12d,%esi
0x0000000000461298 <+296>: xor %edx,%edx
0x000000000046129a <+298>: callq 0x463e30 <editor_goto_pos>
0x000000000046129f <+303>: mov %rbx,%rsi
0x00000000004612a2 <+306>: mov $0x45f630,%edi
0x00000000004612a7 <+311>: callq 0x44b050 <g_idle_add@plt>
0x00000000004612ac <+316>: add $0xf8,%rsp
0x00000000004612b3 <+323>: mov %rbx,%rax
0x00000000004612b6 <+326>: pop %rbx
0x00000000004612b7 <+327>: pop %rbp
0x00000000004612b8 <+328>: pop %r12
0x00000000004612ba <+330>: pop %r13
0x00000000004612bc <+332>: pop %r14
0x00000000004612be <+334>: pop %r15
0x00000000004612c0 <+336>: retq
0x00000000004612c1 <+337>: nopl 0x0(%rax)
0x00000000004612c8 <+344>: mov 0x10(%rdi),%rdi
0x00000000004612cc <+348>: callq 0x44a400 <g_strdup@plt>
0x00000000004612d1 <+353>: mov %rax,%rdi
0x00000000004612d4 <+356>: mov %rax,%r13
0x00000000004612d7 <+359>: callq 0x4af450 <utils_get_locale_from_utf8>
0x00000000004612dc <+364>: test %rbx,%rbx
0x00000000004612df <+367>: mov %rax,%rbp
0x00000000004612e2 <+370>: je 0x4612f0 <document_open_file_full+384>
0x00000000004612e4 <+372>: test %r12d,%r12d
0x00000000004612e7 <+375>: je 0x461200 <document_open_file_full+144>
0x00000000004612ed <+381>: nopl (%rax)
0x00000000004612f0 <+384>: mov $0x64,%esi
0x00000000004612f5 <+389>: mov %r13,%rdi
0x00000000004612f8 <+392>: callq 0x4b0020 <utils_str_middle_truncate>
0x00000000004612fd <+397>: lea 0x20(%rsp),%rdx
0x0000000000461302 <+402>: mov %rbp,%rsi
0x0000000000461305 <+405>: mov $0x1,%edi
0x000000000046130a <+410>: mov %rax,%r14
0x000000000046130d <+413>: movq $0x0,0xe8(%rsp)
0x0000000000461319 <+425>: movq $0x0,0xb0(%rsp)
0x0000000000461325 <+437>: movq $0x0,0xb8(%rsp)
0x0000000000461331 <+449>: movq $0x0,0xc0(%rsp)
0x000000000046133d <+461>: movl $0x0,0xc8(%rsp)
0x0000000000461348 <+472>: movl $0x0,0xd8(%rsp)
0x0000000000461353 <+483>: callq 0x44b340 <__xstat@plt>
0x0000000000461358 <+488>: test %eax,%eax
0x000000000046135a <+490>: jne 0x4614b0 <document_open_file_full+832>
0x0000000000461360 <+496>: lea 0xb0(%rsp),%r10
0x0000000000461368 <+504>: mov 0x78(%rsp),%rax
0x000000000046136d <+509>: lea 0xe8(%rsp),%rcx
0x0000000000461375 <+517>: xor %edx,%edx
0x0000000000461377 <+519>: mov %rbp,%rdi
0x000000000046137a <+522>: mov %r10,%rsi
0x000000000046137d <+525>: mov %r10,(%rsp)
0x0000000000461381 <+529>: mov %rax,0xd0(%rsp)
0x0000000000461389 <+537>: callq 0x44b660 <g_file_get_contents@plt>
0x000000000046138e <+542>: test %eax,%eax
0x0000000000461390 <+544>: mov (%rsp),%r10
0x0000000000461394 <+548>: je 0x461478 <document_open_file_full+776>
0x000000000046139a <+554>: mov 0x50(%rsp),%rax
0x000000000046139f <+559>: mov 0x8(%rsp),%rdx
0x00000000004613a4 <+564>: lea 0x10(%r10),%rcx
0x00000000004613a8 <+568>: lea 0x8(%r10),%rsi
0x00000000004613ac <+572>: lea 0x28(%r10),%r9
0x00000000004613b0 <+576>: lea 0x18(%r10),%r8
0x00000000004613b4 <+580>: mov %r10,%rdi
0x00000000004613b7 <+583>: mov %rax,0xb8(%rsp)
0x00000000004613bf <+591>: callq 0x46c8a0 <encodings_convert_to_utf8_auto>
0x00000000004613c4 <+596>: test %eax,%eax
0x00000000004613c6 <+598>: jne 0x461510 <document_open_file_full+928>
0x00000000004613cc <+604>: cmpq $0x0,0x8(%rsp)
0x00000000004613d2 <+610>: je 0x4618a0 <document_open_file_full+1840>
0x00000000004613d8 <+616>: mov $0x5e8f40,%esi
0x00000000004613dd <+621>: mov $0x5f9284,%edi
0x00000000004613e2 <+626>: callq 0x44cd60 <g_dgettext@plt>
0x00000000004613e7 <+631>: mov 0x8(%rsp),%rcx
0x00000000004613ec <+636>: mov %rax,%rsi
0x00000000004613ef <+639>: mov %r14,%rdx
0x00000000004613f2 <+642>: mov $0x1,%edi
0x00000000004613f7 <+647>: xor %eax,%eax
0x00000000004613f9 <+649>: callq 0x4abd00 <ui_set_statusbar>
0x00000000004613fe <+654>: mov 0xb0(%rsp),%rdi
0x0000000000461406 <+662>: callq 0x44ba40 <g_free@plt>
0x000000000046140b <+667>: mov %r14,%rdi
0x000000000046140e <+670>: xor %ebx,%ebx
0x0000000000461410 <+672>: callq 0x44ba40 <g_free@plt>
0x0000000000461415 <+677>: mov %r13,%rdi
0x0000000000461418 <+680>: callq 0x44ba40 <g_free@plt>
0x000000000046141d <+685>: mov %rbp,%rdi
0x0000000000461420 <+688>: callq 0x44ba40 <g_free@plt>
0x0000000000461425 <+693>: jmpq 0x4612ac <document_open_file_full+316>
0x000000000046142a <+698>: nopw 0x0(%rax,%rax,1)
0x0000000000461430 <+704>: mov 0x14(%rsp),%r9d
0x0000000000461435 <+709>: test %r9d,%r9d
0x0000000000461438 <+712>: jle 0x46124f <document_open_file_full+223>
0x000000000046143e <+718>: mov 0x8(%rbp),%rdi
0x0000000000461442 <+722>: mov 0x14(%rsp),%esi
0x0000000000461446 <+726>: xor %edx,%edx
0x0000000000461448 <+728>: callq 0x491660 <sci_set_current_position>
0x000000000046144d <+733>: mov 0x3f5f64(%rip),%r8d # 0x8573b8 <cl_options+24>
0x0000000000461454 <+740>: movl $0x3f000000,0x18(%rbp)
0x000000000046145b <+747>: test %r8d,%r8d
0x000000000046145e <+750>: jns 0x46125f <document_open_file_full+239>
=> 0x0000000000461464 <+756>: mov 0x8(%rbp),%rdi
0x0000000000461468 <+760>: callq 0x4916e0 <sci_get_current_position>
0x000000000046146d <+765>: mov %eax,%r12d
0x0000000000461470 <+768>: jmpq 0x461291 <document_open_file_full+289>
0x0000000000461475 <+773>: nopl (%rax)
0x0000000000461478 <+776>: mov 0xe8(%rsp),%rax
0x0000000000461480 <+784>: mov $0x5f1e95,%esi
0x0000000000461485 <+789>: mov $0x1,%edi
0x000000000046148a <+794>: mov 0x8(%rax),%rdx
0x000000000046148e <+798>: xor %eax,%eax
0x0000000000461490 <+800>: callq 0x4abd00 <ui_set_statusbar>
0x0000000000461495 <+805>: mov 0xe8(%rsp),%rdi
0x000000000046149d <+813>: callq 0x4493f0 <g_error_free@plt>
0x00000000004614a2 <+818>: jmpq 0x46140b <document_open_file_full+667>
0x00000000004614a7 <+823>: nopw 0x0(%rax,%rax,1)
0x00000000004614b0 <+832>: callq 0x448c90 <__errno_location@plt>
0x00000000004614b5 <+837>: mov (%rax),%edi
0x00000000004614b7 <+839>: callq 0x44b110 <g_strerror@plt>
0x00000000004614bc <+844>: mov $0x5e8aa2,%esi
0x00000000004614c1 <+849>: mov %rax,%rbx
0x00000000004614c4 <+852>: mov $0x5f9284,%edi
0x00000000004614c9 <+857>: callq 0x44cd60 <g_dgettext@plt>
0x00000000004614ce <+862>: mov %rbx,%rcx
0x00000000004614d1 <+865>: mov %rax,%rsi
0x00000000004614d4 <+868>: mov %r14,%rdx
0x00000000004614d7 <+871>: mov $0x1,%edi
0x00000000004614dc <+876>: xor %eax,%eax
0x00000000004614de <+878>: callq 0x4abd00 <ui_set_statusbar>
0x00000000004614e3 <+883>: jmpq 0x46140b <document_open_file_full+667>
0x00000000004614e8 <+888>: nopl 0x0(%rax,%rax,1)
0x00000000004614f0 <+896>: mov $0x5f63dc,%edx
0x00000000004614f5 <+901>: mov $0x5e9420,%esi
0x00000000004614fa <+906>: mov $0x5fbcfd,%edi
0x00000000004614ff <+911>: callq 0x4490b0 <g_return_if_fail_warning@plt>
0x0000000000461504 <+916>: xor %ebx,%ebx
0x0000000000461506 <+918>: jmpq 0x4612ac <document_open_file_full+316>
0x000000000046150b <+923>: nopl 0x0(%rax,%rax,1)
0x0000000000461510 <+928>: mov 0xd8(%rsp),%eax
0x0000000000461517 <+935>: test %eax,%eax
0x0000000000461519 <+937>: jne 0x461830 <document_open_file_full+1728>
0x000000000046151f <+943>: test %r12d,%r12d
0x0000000000461522 <+946>: je 0x461700 <document_open_file_full+1424>
0x0000000000461528 <+952>: nopl 0x0(%rax,%rax,1)
0x0000000000461530 <+960>: mov 0x28(%rbx),%rax
0x0000000000461534 <+964>: xor %esi,%esi
0x0000000000461536 <+966>: mov 0x8(%rax),%rdi
0x000000000046153a <+970>: callq 0x491a00 <sci_set_undo_collection>
0x000000000046153f <+975>: mov 0x28(%rbx),%rax
0x0000000000461543 <+979>: mov 0x8(%rax),%rdi
0x0000000000461547 <+983>: callq 0x4919f0 <sci_empty_undo_buffer>
0x000000000046154c <+988>: mov 0x28(%rbx),%rax
0x0000000000461550 <+992>: xor %esi,%esi
0x0000000000461552 <+994>: mov 0x8(%rax),%rdi
0x0000000000461556 <+998>: callq 0x490f40 <sci_set_readonly>
0x000000000046155b <+1003>: mov 0x28(%rbx),%rax
0x000000000046155f <+1007>: mov 0xb0(%rsp),%rsi
0x0000000000461567 <+1015>: mov 0x8(%rax),%rdi
0x000000000046156b <+1019>: callq 0x491ae0 <sci_set_text>
0x0000000000461570 <+1024>: mov %rbx,%rdi
0x0000000000461573 <+1027>: callq 0x45d3c0 <queue_colourise>
0x0000000000461578 <+1032>: mov 0xb8(%rsp),%rsi
0x0000000000461580 <+1040>: mov 0xb0(%rsp),%rdi
0x0000000000461588 <+1048>: callq 0x4adb10 <utils_get_line_endings>
0x000000000046158d <+1053>: mov 0x28(%rbx),%rdx
0x0000000000461591 <+1057>: mov %eax,%esi
0x0000000000461593 <+1059>: mov 0x8(%rdx),%rdi
0x0000000000461597 <+1063>: callq 0x491b10 <sci_set_eol_mode>
0x000000000046159c <+1068>: mov 0xb0(%rsp),%rdi
0x00000000004615a4 <+1076>: callq 0x44ba40 <g_free@plt>
0x00000000004615a9 <+1081>: mov 0x28(%rbx),%rax
0x00000000004615ad <+1085>: mov $0x1,%esi
0x00000000004615b2 <+1090>: mov 0x8(%rax),%rdi
0x00000000004615b6 <+1094>: callq 0x491a00 <sci_set_undo_collection>
0x00000000004615bb <+1099>: mov 0x50(%rbx),%rax
0x00000000004615bf <+1103>: mov 0xd0(%rsp),%rdx
0x00000000004615c7 <+1111>: mov 0x18(%rbx),%rdi
0x00000000004615cb <+1115>: mov %rdx,0x80(%rax)
0x00000000004615d2 <+1122>: callq 0x44ba40 <g_free@plt>
0x00000000004615d7 <+1127>: mov 0xc0(%rsp),%rax
0x00000000004615df <+1135>: mov %rbx,%rdi
0x00000000004615e2 <+1138>: mov %rax,0x18(%rbx)
0x00000000004615e6 <+1142>: mov 0xc8(%rsp),%eax
0x00000000004615ed <+1149>: mov %eax,0x20(%rbx)
0x00000000004615f0 <+1152>: callq 0x45d1d0 <store_saved_encoding>
0x00000000004615f5 <+1157>: test %r15d,%r15d
0x00000000004615f8 <+1160>: mov $0x1,%esi
0x00000000004615fd <+1165>: jne 0x46160d <document_open_file_full+1181>
0x00000000004615ff <+1167>: xor %esi,%esi
0x0000000000461601 <+1169>: cmpl $0x0,0xd8(%rsp)
0x0000000000461609 <+1177>: setne %sil
0x000000000046160d <+1181>: mov 0x28(%rbx),%rax
0x0000000000461611 <+1185>: mov %esi,0x40(%rbx)
0x0000000000461614 <+1188>: mov 0x8(%rax),%rdi
0x0000000000461618 <+1192>: callq 0x490f40 <sci_set_readonly>
0x000000000046161d <+1197>: mov 0x28(%rbx),%rax
0x0000000000461621 <+1201>: mov 0x50(%rbx),%rdx
0x0000000000461625 <+1205>: mov 0x8(%rax),%rdi
0x0000000000461629 <+1209>: mov %rdx,(%rsp)
0x000000000046162d <+1213>: callq 0x491640 <sci_get_line_count>
0x0000000000461632 <+1218>: mov (%rsp),%rdx
0x0000000000461636 <+1222>: mov %eax,0x5c(%rdx)
0x0000000000461639 <+1225>: mov 0x28(%rbx),%rax
0x000000000046163d <+1229>: xor %edx,%edx
0x000000000046163f <+1231>: mov 0x3f54a7(%rip),%esi # 0x856aec <editor_prefs+44>
0x0000000000461645 <+1237>: mov 0x8(%rax),%rdi
0x0000000000461649 <+1241>: callq 0x491f50 <sci_set_line_numbers>
0x000000000046164e <+1246>: test %r12d,%r12d
0x0000000000461651 <+1249>: jne 0x4617d0 <document_open_file_full+1632>
0x0000000000461657 <+1255>: mov 0x28(%rbx),%rcx
0x000000000046165b <+1259>: xor %r9d,%r9d
0x000000000046165e <+1262>: xor %r8d,%r8d
0x0000000000461661 <+1265>: mov $0x5e89f2,%esi
0x0000000000461666 <+1270>: mov $0x463b80,%edx
0x000000000046166b <+1275>: mov 0x8(%rcx),%rdi
0x000000000046166f <+1279>: callq 0x44b090 <g_signal_connect_data@plt>
0x0000000000461674 <+1284>: mov 0x18(%rsp),%rsi
0x0000000000461679 <+1289>: test %rsi,%rsi
0x000000000046167c <+1292>: je 0x461890 <document_open_file_full+1824>
0x0000000000461682 <+1298>: mov %rbx,%rdi
0x0000000000461685 <+1301>: callq 0x45f410 <document_set_filetype>
0x000000000046168a <+1306>: mov %rbx,%rdi
0x000000000046168d <+1309>: callq 0x45f1e0 <document_apply_indent_settings>
0x0000000000461692 <+1314>: xor %esi,%esi
0x0000000000461694 <+1316>: mov %rbx,%rdi
0x0000000000461697 <+1319>: callq 0x45e860 <document_set_text_changed>
0x000000000046169c <+1324>: mov %rbx,%rdi
0x000000000046169f <+1327>: callq 0x4abef0 <ui_document_show_hide>
0x00000000004616a4 <+1332>: mov 0x3f5cd5(%rip),%r10d # 0x857380 <main_status>
0x00000000004616ab <+1339>: test %r10d,%r10d
0x00000000004616ae <+1342>: je 0x461800 <document_open_file_full+1680>
0x00000000004616b4 <+1348>: test %r12d,%r12d
0x00000000004616b7 <+1351>: je 0x461760 <document_open_file_full+1520>
0x00000000004616bd <+1357>: mov 0x3f5c9c(%rip),%rdi # 0x857360 <geany_object>
0x00000000004616c4 <+1364>: mov %rbx,%rdx
0x00000000004616c7 <+1367>: xor %eax,%eax
0x00000000004616c9 <+1369>: mov $0x5e8b61,%esi
0x00000000004616ce <+1374>: callq 0x44d6b0 <g_signal_emit_by_name@plt>
0x00000000004616d3 <+1379>: mov $0x5e8b71,%esi
0x00000000004616d8 <+1384>: mov $0x5f9284,%edi
0x00000000004616dd <+1389>: callq 0x44cd60 <g_dgettext@plt>
0x00000000004616e2 <+1394>: mov %r14,%rdx
0x00000000004616e5 <+1397>: mov %rax,%rsi
0x00000000004616e8 <+1400>: mov $0x1,%edi
0x00000000004616ed <+1405>: xor %eax,%eax
0x00000000004616ef <+1407>: callq 0x4abd00 <ui_set_statusbar>
0x00000000004616f4 <+1412>: jmpq 0x461203 <document_open_file_full+147>
0x00000000004616f9 <+1417>: nopl 0x0(%rax)
0x0000000000461700 <+1424>: mov %r13,%rdi
0x0000000000461703 <+1427>: callq 0x45fb10 <document_create>
0x0000000000461708 <+1432>: test %rax,%rax
0x000000000046170b <+1435>: mov %rax,%rbx
0x000000000046170e <+1438>: je 0x461870 <document_open_file_full+1792>
0x0000000000461714 <+1444>: mov 0x48(%rax),%rax
0x0000000000461718 <+1448>: mov %rbp,%rdi
0x000000000046171b <+1451>: mov %rax,0x8(%rsp)
0x0000000000461720 <+1456>: callq 0x5da8f0 <tm_get_real_path>
0x0000000000461725 <+1461>: mov 0x8(%rsp),%rdi
0x000000000046172a <+1466>: mov %rax,0x48(%rbx)
0x000000000046172e <+1470>: callq 0x44ba40 <g_free@plt>
0x0000000000461733 <+1475>: mov 0x50(%rbx),%rdx
0x0000000000461737 <+1479>: mov %rbp,%rdi
0x000000000046173a <+1482>: mov %rdx,(%rsp)
0x000000000046173e <+1486>: callq 0x4ae820 <utils_is_remote_path>
0x0000000000461743 <+1491>: mov (%rsp),%rdx
0x0000000000461747 <+1495>: mov %rbx,%rdi
0x000000000046174a <+1498>: mov %eax,0x64(%rdx)
0x000000000046174d <+1501>: callq 0x45ce80 <monitor_file_setup>
0x0000000000461752 <+1506>: jmpq 0x461530 <document_open_file_full+960>
0x0000000000461757 <+1511>: nopw 0x0(%rax,%rax,1)
0x0000000000461760 <+1520>: mov 0x3f5bf9(%rip),%rdi # 0x857360 <geany_object>
0x0000000000461767 <+1527>: xor %eax,%eax
0x0000000000461769 <+1529>: mov %rbx,%rdx
0x000000000046176c <+1532>: mov $0x5e8b83,%esi
0x0000000000461771 <+1537>: callq 0x44d6b0 <g_signal_emit_by_name@plt>
0x0000000000461776 <+1542>: test %r15d,%r15d
0x0000000000461779 <+1545>: mov $0x5fa658,%ecx
0x000000000046177e <+1550>: jne 0x461810 <document_open_file_full+1696>
0x0000000000461784 <+1556>: mov %rcx,(%rsp)
0x0000000000461788 <+1560>: callq 0x44d680 <gtk_notebook_get_type@plt>
0x000000000046178d <+1565>: mov 0x3f6024(%rip),%rdi # 0x8577b8 <main_widgets+24>
0x0000000000461794 <+1572>: mov %rax,%rsi
0x0000000000461797 <+1575>: callq 0x449840 <g_type_check_instance_cast@plt>
0x000000000046179c <+1580>: mov %rax,%rdi
0x000000000046179f <+1583>: callq 0x44ad40 <gtk_notebook_get_n_pages@plt>
0x00000000004617a4 <+1588>: mov $0x5e8b9d,%esi
0x00000000004617a9 <+1593>: mov $0x5f9284,%edi
0x00000000004617ae <+1598>: mov %eax,%r12d
0x00000000004617b1 <+1601>: callq 0x44cd60 <g_dgettext@plt>
0x00000000004617b6 <+1606>: mov (%rsp),%rcx
0x00000000004617ba <+1610>: mov %rax,%rdi
0x00000000004617bd <+1613>: mov %r12d,%edx
0x00000000004617c0 <+1616>: mov %r14,%rsi
0x00000000004617c3 <+1619>: xor %eax,%eax
0x00000000004617c5 <+1621>: callq 0x4826d0 <msgwin_status_add>
0x00000000004617ca <+1626>: jmpq 0x461203 <document_open_file_full+147>
0x00000000004617cf <+1631>: nop
0x00000000004617d0 <+1632>: mov %rbx,%rdi
0x00000000004617d3 <+1635>: callq 0x45ed30 <document_undo_clear>
0x00000000004617d8 <+1640>: mov 0x18(%rsp),%rsi
0x00000000004617dd <+1645>: mov %rbx,%rdi
0x00000000004617e0 <+1648>: callq 0x45f410 <document_set_filetype>
0x00000000004617e5 <+1653>: mov 0x28(%rbx),%rdi
0x00000000004617e9 <+1657>: mov 0x24(%rdi),%edx
0x00000000004617ec <+1660>: mov 0x1c(%rdi),%esi
0x00000000004617ef <+1663>: callq 0x463f80 <editor_set_indent>
0x00000000004617f4 <+1668>: jmpq 0x461692 <document_open_file_full+1314>
0x00000000004617f9 <+1673>: nopl 0x0(%rax)
0x0000000000461800 <+1680>: mov %rbx,%rdi
0x0000000000461803 <+1683>: callq 0x4aaee0 <ui_add_recent_document>
0x0000000000461808 <+1688>: jmpq 0x4616b4 <document_open_file_full+1348>
0x000000000046180d <+1693>: nopl (%rax)
0x0000000000461810 <+1696>: mov $0x5e8b91,%esi
0x0000000000461815 <+1701>: mov $0x5f9284,%edi
0x000000000046181a <+1706>: callq 0x44cd60 <g_dgettext@plt>
0x000000000046181f <+1711>: mov %rax,%rcx
0x0000000000461822 <+1714>: jmpq 0x461784 <document_open_file_full+1556>
0x0000000000461827 <+1719>: nopw 0x0(%rax,%rax,1)
0x0000000000461830 <+1728>: mov $0x5e8fb8,%esi
0x0000000000461835 <+1733>: mov $0x5f9284,%edi
0x000000000046183a <+1738>: callq 0x44cd60 <g_dgettext@plt>
0x000000000046183f <+1743>: mov 0x3f5b46(%rip),%r11d # 0x85738c <main_status+12>
0x0000000000461846 <+1750>: mov %rax,%rcx
0x0000000000461849 <+1753>: test %r11d,%r11d
0x000000000046184c <+1756>: jne 0x4618d0 <document_open_file_full+1888>
0x0000000000461852 <+1762>: mov %r14,%rdx
0x0000000000461855 <+1765>: mov %rcx,%rsi
0x0000000000461858 <+1768>: mov $0x1,%edi
0x000000000046185d <+1773>: xor %eax,%eax
0x000000000046185f <+1775>: callq 0x4abd00 <ui_set_statusbar>
0x0000000000461864 <+1780>: jmpq 0x46151f <document_open_file_full+943>
0x0000000000461869 <+1785>: nopl 0x0(%rax)
0x0000000000461870 <+1792>: mov $0x5f7159,%edx
0x0000000000461875 <+1797>: mov $0x5e9420,%esi
0x000000000046187a <+1802>: mov $0x5fbcfd,%edi
0x000000000046187f <+1807>: callq 0x4490b0 <g_return_if_fail_warning@plt>
0x0000000000461884 <+1812>: jmpq 0x4612ac <document_open_file_full+316>
0x0000000000461889 <+1817>: nopl 0x0(%rax)
0x0000000000461890 <+1824>: mov %rbx,%rdi
0x0000000000461893 <+1827>: callq 0x46eb60 <filetypes_detect_from_document>
0x0000000000461898 <+1832>: mov %rax,%rsi
0x000000000046189b <+1835>: jmpq 0x461682 <document_open_file_full+1298>
0x00000000004618a0 <+1840>: mov $0x5e8f60,%esi
0x00000000004618a5 <+1845>: mov $0x5f9284,%edi
0x00000000004618aa <+1850>: callq 0x44cd60 <g_dgettext@plt>
0x00000000004618af <+1855>: mov %r14,%rdx
0x00000000004618b2 <+1858>: mov %rax,%rsi
0x00000000004618b5 <+1861>: mov $0x1,%edi
0x00000000004618ba <+1866>: xor %eax,%eax
0x00000000004618bc <+1868>: callq 0x4abd00 <ui_set_statusbar>
0x00000000004618c1 <+1873>: jmpq 0x4613fe <document_open_file_full+654>
0x00000000004618c6 <+1878>: nopw %cs:0x0(%rax,%rax,1)
0x00000000004618d0 <+1888>: mov %rax,%rsi
0x00000000004618d3 <+1891>: mov %r14,%rdx
0x00000000004618d6 <+1894>: mov $0x1,%edi
0x00000000004618db <+1899>: xor %eax,%eax
0x00000000004618dd <+1901>: mov %rcx,(%rsp)
0x00000000004618e1 <+1905>: callq 0x45a230 <dialogs_show_msgbox>
0x00000000004618e6 <+1910>: mov (%rsp),%rcx
0x00000000004618ea <+1914>: jmpq 0x461852 <document_open_file_full+1762>
End of assembler dump.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.